<div class="bjui-pageContent">

    <form action="__SELF__" target="cache_if" method="post" id="myform" name="myform">
        <input type="hidden" name="dosubmit" value="1">
        <div class="col-md-12">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h3 class="panel-title"> 任务更新：</h3>
                </div>
                <div class="panel-body bjui-doc"  id="update_tips" style="height: 360px;padding: 0;overflow: auto;">
                    <ul id="file" class="sbul">
                    </ul>
                </div>
            </div>
        </div>
    </form>
    <iframe id="cache_if" name="cache_if" class="ifm" style="display: none;"></iframe>
    <iframe id="hidden" name="hidden" width="0" height="0" frameborder=0></iframe>
</div>
<script type="text/javascript">
    document.myform.submit();
    function addtext(data) {
        $('#file').append(data);
        document.getElementById('update_tips').scrollTop = document.getElementById('update_tips').scrollHeight;
        console.log(document.getElementById('update_tips').scrollHeight);
    }
</script>